package org.smart4j.framework;

import org.smart4j.framework.annotation.Controller;
import org.smart4j.framework.helper.AopHelper;
import org.smart4j.framework.helper.BeanHelper;
import org.smart4j.framework.helper.ClassHelper;
import org.smart4j.framework.helper.IocHelper;
import org.smart4j.framework.util.ClassUtil;


//统一加载Helper类
public class HelperLoader {
    public static void init(){
        Class<?>[] classList = {
                BeanHelper.class,
                ClassHelper.class,
                AopHelper.class,
                IocHelper.class,
                Controller.class
        };
        for (Class<?> cls : classList){
            ClassUtil.loadClass(cls.getName(),true);
        }
    }
}
